<?php
/***********************************************************
 * Copyright (C) 2010-2012 by Lifire
 * All rights reserved.
 * 
 * Filename: 
 * Description: 
 * 
 * Created by Lifire at 2010-11-18
 * Email:yunzhi.li.08@gmail.com
 ***********************************************************
 */
 ?>
 <?php
 class OrderModel extends Model 
{

	protected $_validate=array(
		
		array('name','require', '姓名不能为空',0,'','all'),
		array('tel','require','电话不能为空',0,'','all'), 
		array('email','require','电子邮箱不能为空',0,'','all'),
		array('address','require','地址不能为空',0,'','all'),
	);	
	protected $_auto  =  array(  	
        array('addtime','time','ADD','function'),
	);
}
 ?>